<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link rel="shortcut icon" href="./assets/favicon.ico" type="image/x-icon">
  <link rel="stylesheet" href="./css/index.css">
  <title>歌词</title>
  <script src="https://unpkg.com/lodash@4.17.20"></script> <!-- lodash库 -->
</head>
<style>
  * {
    margin: 0;
    padding: 0;
  }
  body {
    /* background-color: #000; */
    background:radial-gradient( #777 10%,  #222 40%,  #000 50%);
    color: #ccc;
    text-align: center; /* 对其子元素中的行盒内的文字进行居中 */
    height: 100vh;
  }
  audio {
    width: 450px;
    margin: 30px 0;
  }
  .container {
    height: 420px;
    overflow: hidden;
  }
  .container ul {
    transform: translateY(0px);
    transition: .2s; /* 过渡：只对数值类的属性有效 */
  }
  .container li {
    height: 30px;
    line-height: 30px;
    transition: .6s;
  }
  .container li.active {
    color: #fff;
    /* font-size: 16px; */
    transform: scale(1.2);
  }
</style>
<body>
  <script src="./src/index.js"></script> <!-- 模块化 -->
  
  <audio controls src="./assets/xx.mp3"></audio>
  <div class="container">
    <ul class="lrc-list">
    </ul>
  </div>
</body>
<!-- 歌词数据 -->
<script src="./js/data.js"></script>
<!-- 效果、功能实现 -->
<script src="./js/index.js"></script>
</html>